
<%@page import="bdcin.classesbasicas.TG"%>


<%@ include  file="../includes/cabecalho.jsp" %>

<%
TG documento = (TG)request.getAttribute("documento");
%>

<%@ include file="../includes/menu.jsp"%>

<h3>Remover TG </h3>

<form name="formulario" method="post" action="./Controlador?action=documento.RemoverDocumentoAction&id=<%=documento.getId()%>">
<table class="tab_documento">
  <tr>
    <td >T&iacute;tulo:</td>
    <td >
        
            <input name="textfield" value="<%=documento.getTitulo()%>" type="text" size="50" readonly="readonly" />
        </td>
       
      </tr>
      <tr>
        <td>Autor:</td>
        <td>
       
            <input name="textfield2"  value="<%=documento.getAluno()%>"type="text" size="50" readonly="readonly"/>
       </td>
       
      </tr>
      <tr>
        <td>&Aacute;rea:</td>
        <td>
                <input type="text" value="<%=documento.getArea().getNome()%>" name="textfield4" readonly="readonly"/>
       </td>
       
      </tr>
      <tr>
        <td>Sub-&Aacute;rea:</td>
        <td>
       
            <input name="textfield3"  value="<%=documento.getSubArea()%>"type="text" size="50" readonly="readonly"/>
       </td>
       
      </tr>
      <tr>
        <td>Ano:</td>
        <td>
       
            <input type="text"  value="<%=documento.getAno()%>"name="textfield8" readonly="readonly"/>
       </td>
       
      </tr>
      <tr>
        <td>Orientador:</td>
        <td>
              <input name="textfield5" type="text" value="<%=documento.getOrientador().getNome()%>" readonly="readonly"size="50" />
        </td>
       
      </tr>
      <tr>
        <td>Co-Orientador:</td>
        <td>
       
              <%if(documento.getCoOrientador() != null){ %>
                <input name="coorientador" value="<%=documento.getCoOrientador().getNome()%>" size="50" readonly="readonly" type="text" />
                <%}else{ %>
                <input name="coorientador" size="50" readonly="readonly" type="text" />
			<% }%>                
       
            </td>
       
      </tr>
      <tr>
        <td>Avaliador 1: </td>
        <td>
              <input name="textfield7" type="text" value="<%=documento.getAvaliador1().getNome()%>" readonly="readonly" size="50" />
       </td>
       
      </tr>
      <tr>
        <td>Avaliador 2:</td>
        <td>
       
        
       
            <input type="text" value="<%=documento.getAvaliador2().getNome()%>" name="textfield9" readonly="readonly"/>
       
                  </td>
       
      </tr>
      <tr>
        <td>Resumo:</td>
        <td>
       
            <textarea name="textarea" cols="40" rows="10" readonly="readonly"><%=documento.getResumo()%>
			</textarea>
       </td>
       
      </tr>
      <tr>
        <td colspan="3">&nbsp;</td>
      </tr>

     

		<tr>
		<td colspan="3" align="center">
		            <input type="submit" name="Submit" value="Remover" />
		</td>
		
  </tr>
</table>
</form>
